#ifndef MYLABEL_H
#define MYLABEL_H

#include <QWidget>
#include<QEnterEvent>
#include<QLabel>
class MyLabel : public QLabel
{
    Q_OBJECT
public:
    explicit MyLabel(QWidget *parent = nullptr);
    //鼠标进入事件
    void enterEvent(QEvent *event);
    void leaveEvent(QEvent *event);
    void mousePressEvent(QMouseEvent *event);

signals:

};

#endif // MYLABEL_H
